package com.org.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * author: vane.Q
 * date: 2022/10/19 14:53
 */
@Data
@TableName("agreement_detail")
public class AgreementDetail {

    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    @TableField(value = "agreementNo")
    private String agreementNo;

    @TableField(value = "title")
    private String title;

    @TableField(value = "status")
    private Integer status;

    @TableField(value = "content")
    private String content;

    @TableField(value = "version")
    private Integer version;

    @TableField(value = "agreementType")
    private String agreementType;

    @TableField(value = "createdBy")
    private String createdBy;

    @TableField(value = "createdAt")
    private Date createdAt;

    @TableField(value = "updatedBy")
    private String updatedBy;

    @TableField(value = "updatedAt")
    private Date updatedAt;

}
